package com.meteor.convert;

import com.meteor.entity.Malfunction;
import com.meteor.vo.MalfunctionVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;


@Mapper
public interface MalfunctionConvert {

    MalfunctionConvert INSTANCE = Mappers.getMapper(MalfunctionConvert.class);

    MalfunctionVO convert(Malfunction entity);

    Malfunction convert(MalfunctionVO vo);

    List<MalfunctionVO> convertList(List<Malfunction> list);

}
